projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2cb11
)
mips: Let cache.h be included from assembly source
author
Marek Vasut
<
[email protected]
>
Fri, 25 Nov 2016 22:32:22 +0000
(23:32 +0100)
committer
Daniel Schwierzeck
<
[email protected]
>
Wed, 30 Nov 2016 15:13:17 +0000
(16:13 +0100)
Add ifdef __ASSEMBLY__ around the function prototype to let cache.h
be included from assembly code.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Daniel Schwierzeck <
[email protected]
>
Cc: Paul Burton <
[email protected]
>
arch/mips/include/asm/cache.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/cache.h
b/arch/mips/include/asm/cache.h
index 669c362a52a563ab6f7dfcf43188b8559644b69d..83165d5c9705fcc2f41eb501eb363b15e556aba3 100644
(file)
--- a/
arch/mips/include/asm/cache.h
+++ b/
arch/mips/include/asm/cache.h
@@
-19,6
+19,7
@@
*/
#define CONFIG_SYS_CACHELINE_SIZE ARCH_DMA_MINALIGN
+#ifndef __ASSEMBLY__
/**
* mips_cache_probe() - Probe the properties of the caches
*
@@
-27,5
+28,6
@@
* functions such as flush_cache may be called.
*/
void mips_cache_probe(void);
+#endif
#endif /* __MIPS_CACHE_H__ */